package org.darkforest.common.services;

import org.darkforest.model.OrderLog;

import java.util.List;
import java.util.Map;

/**
 * Created by Libing on 2015/6/27.
 */
public interface OrderLogService {
    /**
     * 订单状态变更时需要记录订单的在变更之前的状态
     * @param orderLog
     */
    void AddOrderLog(OrderLog orderLog);

    void CancleUnpayOrderForLog(String sbd);



    int deleteByPrimaryKey(Integer logId);

    int insert(OrderLog record);

    int insertSelective(OrderLog record);

    OrderLog selectByPrimaryKey(Integer logId);

    int updateByPrimaryKeySelective(OrderLog record);

    int updateByPrimaryKey(OrderLog record);

    List<OrderLog> selectByOrderId(Integer id);

    void addDataBySql(Map<String, String> map);


}
